<% @report_template.conditions.each_with_index do |condition, i| -%>
<%=h condition[:field].humanize  + ' ' + condition[:sign] + ' ' %> 
<%= calendar_date_select_tag "dates[]", (@dates ? @dates[i] : nil), :id => "dates_" %> <br />
<% end -%>
